package com.graduate.twentyone.service;

import com.graduate.twentyone.domain.Users;

import java.util.List;

public interface UsersService {
    Integer addOne(Users users);

    Boolean addPremiss(Integer uid, Integer rid);

    Boolean queryPremiss(Integer uid);

    Boolean updatePremiss(Integer rid,Integer uid);

    Boolean deleteOneUser(Integer uid);

    Boolean updateUser(Users users);

    List<Users> selectUsers();

    Users selectooo();

    Users selectbyUid(Integer uid);

    Integer setOnline(Users users);

    List<Users> selectOnlineStatus();
}
